package com.opennews.openplatform.dto.income.expense.detailt.ype;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public abstract class BaseIncomeExpenseDetailTypeDto {
    @NotBlank(message = "incomeExpenseType can't be blank")
    @Size(max = 50, message = "incomeExpenseType must be at most 50 characters")
    private String incomeExpenseType;                         // IncomeExpenseTypeConstant
}
